feat: expose design data as AI agent plugin skills - #1
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
이 저장소의 디자인 데이터셋(
assets/data/*.json)을 AI 코딩 에이전트가 직접 질의할 수 있도록 멀티호스트 플러그인 매니페스트와 스킬 2종을 추가합니다.사이트를 렌더링하는 것과 동일한 JSON을 그대로 읽습니다. 데이터를 복제하지 않으므로 기존 데이터를 고치면 사이트와 스킬에 동시에 반영됩니다.
지원 호스트: Claude Code · Codex · agy
Motivation
49개 ism과 94개 UI 효과는 이미 팔레트 헥스값, 폰트 페어링, 그리드 수치, 실행 가능한 HTML/CSS/JS 스니펫까지 구조화되어 있습니다. 지금은 사람이 브라우저에서 보는 용도로만 쓰이는데, 같은 데이터를 에이전트가 읽으면 "미니멀리즘 팔레트로 만들어줘" 같은 요청에 이 저장소의 값이 그대로 쓰입니다.
What's included
plugin.json(agy),.claude-plugin/{plugin,marketplace}.json,.codex-plugin/plugin.jsonskills/style/— ism 49종 조회 ·skills/effect/— UI 패턴 94종 조회docs/PLUGIN.md(설치·사용법·문제 해결), README에 진입점 1개 절변경 없음: 기존 HTML/CSS/TS/데이터 파일은 한 줄도 건드리지 않았습니다. 전부 신규 파일 추가입니다 (11 files, +439, -0).
How it works
호스트 발견용 디렉토리는 복사본이 아니라 심링크입니다. SKILL 문서가 중복되지 않고, fresh clone 후에도 정상 해석되는 것을 확인했습니다.
스킬은
assets/data/의 JSON을 읽기만 하며 쓰지 않습니다.Example
미니멀리즘 컬러 팔레트 추천해→값 전부
isms.json/dev-guides.json에서 온 것입니다.Verification
npm run verify— 전체 통과 (typecheck, nav, isms, effects, snippets, finder, content, catalog, assets, image-quality, lines)npm run pages:stage—0 forbidden, 배포 트리에 플러그인 파일 유입 없음marketplace add→install→Skills (2) effect, style확인Impact on the site
없습니다.
.pages/)에 플러그인 파일이 포함되지 않음 —stage-pages.mjs가 허용 목록 기반이라 자동 제외deploy.yml은assets/·*.html만 배포src/,scripts/)와 무관Checklist
npm run verify통과 (typecheck · nav · isms · effects · snippets · finder · content · catalog · assets · image-quality · lines)npm run pages:stage통과 —0 forbidden, 배포 트리에 플러그인 파일 유입 없음assets/data/JSON을 읽기만 함 (쓰기 없음)forge doctorFAIL 0marketplace add→install→Skills (2) effect, styleAGENTS.md디렉토리 구조 절 갱신 — PR 수용 시 진행결정이 필요한 사항
design-isms@lidge-jun으로 설치됩니다. 다른 이름을 원하시면marketplace.json의 최상위name을 바꾸면 됩니다.동작 확인
Static integrity) — fork PR이라 메인테이너 승인 후 실행됩니다. 로컬에서npm run verify+npm run pages:stage모두 통과 확인했습니다main에서claude plugin marketplace add lidge-jun/design-isms동작 — 매니페스트가 기본 브랜치에 있어야 하므로 머지 전에는 검증 불가pages:stage결과0 forbidden이나, 실제 배포 후 라이브 사이트 확인 권장알아두실 사항
.claude/skills/는 심링크(git mode120000)입니다. Windows에서core.symlinks=false로 클론하면 링크가 텍스트 파일로 체크아웃되어 깨집니다. 사이트 동작에는 무관하며, 문제가 되면 해당 디렉토리는 삭제해도 플러그인이 정상 동작합니다(실측 확인).Notes
owner/repository는lidge-jun기준입니다. 설치문은claude plugin install design-isms@lidge-jun이 됩니다.AGENTS.md의 디렉토리 구조 절에는 아직 플러그인 파일을 반영하지 않았습니다. 이 PR 방향을 수용하신다면 문서 동기화 규약에 맞춰 함께 갱신하겠습니다.